/*
 * Declaration.cpp
 *
 *  Created on: Oct 29, 2009
 *      Author: ramesh
 */

#ifndef _COMPOSER_DECLARATION_H_
#define _COMPOSER_DECLARATION_H_

#include "../../Shared.h"

#include "Variable.h"


namespace SymphonyAST {


class Declaration : public Context {
private:
	string name;
	Variable* var;

public:
	string getId() {
		return "decl";
	}

	void set(string name, Variable* v) {
		this->name = name;
		this->var = v;
	}

	string getName() {
		return name;
	}
	Variable* getVar() {
		return var;
	}
};


}

#endif
